package com.example.campus.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CommentPublishDTO implements Serializable {
    @NotNull
    private Long infoId;
    @NotEmpty
    private String content;
}
